<template>
   <footer class="footer">
    <van-tabbar v-model="active" route>
  <van-tabbar-item to="/" icon="like-o">猜你喜欢</van-tabbar-item>
  <van-tabbar-item to="/home" icon="search">新品</van-tabbar-item>
  <van-tabbar-item to="/kind" icon="comment-o">发现</van-tabbar-item>
  <van-tabbar-item to="/cart" icon="shopping-cart-o">购物车</van-tabbar-item>
  <van-tabbar-item to="/user" icon="manager-o">我的</van-tabbar-item>
</van-tabbar>
  </footer>
</template>

<script setup>
import {ref} from 'vue'
const active=ref(0)
</script>

<style lang="scss" scoped>

</style>